package com.atyyc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

@RestController
public class HelloController {
    @CrossOrigin(origins = "http://192.168.31.22:8080")
    @GetMapping("/hello")
    public String hello(){

     return "Hello Word!!" ;
    }
}
